package com.wei.myhame.model.api;


import com.wei.myhame.model.bean.ParametersBean;
import com.wei.myhame.model.bean.ProductBean;
import com.wei.myhame.model.bean.VisitmattersBean;

import java.util.HashMap;

import io.reactivex.Flowable;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.POST;
import retrofit2.http.QueryMap;

/**
 * Created by gzl on 2019/11/5 9:14
 * title：登录注册接口
 */
public interface LoginServiceApi {
    //失信人列表查询
    @POST("api/userInfo/updateUserByUserId")
    Flowable<ProductBean>getData(@QueryMap HashMap<String, Object> params);
    //来访事项
    @POST("terminal/visitor/serviceTypes")
    Flowable<VisitmattersBean>getVisitmatters(@Body HashMap<String, Object> params, @Header("token")String token);
}
